<?php
class Acl extends Zend_Acl
{
    public function __construct(Zend_Auth $auth)
    {
        $this->add(new Zend_Acl_Resource('default'));
        $this->add(new Zend_Acl_Resource('admin'));

        $this->addRole(new Zend_Acl_Role('guest'));
        $this->addRole(new Zend_Acl_Role('author'), 'guest');

        $this->allow('guest', 'default');
        $this->allow('author', 'admin');
    }
}